<template>
  <div>
    <el-dialog width="70%" title="赠送套餐失败列表" :visible.sync="show">
      <div style="display: flex;justify-content: space-around;">
        <div style="width: 45%;">
          <div style="margin-bottom: 20px;">未找到的用户:</div>
          <el-input
            type="textarea"
            :rows="6"
            placeholder="暂无内容"
            v-model="textarea1"
            :disabled="true"
          >
          </el-input>
        </div>
        <div style="width: 45%;">
          <div style="margin-bottom: 20px;">赠送失败的用户:</div>
          <el-input
            type="textarea"
            :rows="6"
            placeholder="暂无内容"
            v-model="textarea2"
            :disabled="true"
          >
          </el-input>
        </div>
      </div>
    </el-dialog>
  </div>
</template>

<script>
export default {
  name: "Abnormal_record",
  data() {
    return {
      show: false,
      textarea1: "",
      textarea2: ""
    };
  },

  methods: {
    show_fun(row) {
      this.show = true;
      this.textarea1 = JSON.stringify(...row.notFound) || "";
      this.textarea2 = JSON.stringify(...row.failed) || "";
    }
  }
};
</script>

<style scoped lang="scss"></style>
